Other Enums
The following enums are available globally.
-
Controls the scaling behavior of the circle when the map is pitched.
Values of this type are used in the
See moreMGLCircleStyleLayer.circleScaleAlignment
property.Declaration
Objective-C
enum MGLCircleScaleAlignment : NSUInteger {}
Swift
enum MGLCircleScaleAlignment : UInt
-
Controls the translation reference point.
Values of this type are used in the
See moreMGLCircleStyleLayer.circleTranslationAnchor
property.Declaration
Objective-C
enum MGLCircleTranslationAnchor : NSUInteger {}
Swift
enum MGLCircleTranslationAnchor : UInt
-
Controls the translation reference point.
Values of this type are used in the
See moreMGLFillExtrusionStyleLayer.fillExtrusionTranslationAnchor
property.Declaration
Objective-C
enum MGLFillExtrusionTranslationAnchor : NSUInteger {}
Swift
enum MGLFillExtrusionTranslationAnchor : UInt
-
Controls the translation reference point.
Values of this type are used in the
See moreMGLFillStyleLayer.fillTranslationAnchor
property.Declaration
Objective-C
enum MGLFillTranslationAnchor : NSUInteger {}
Swift
enum MGLFillTranslationAnchor : UInt
-
Whether extruded geometries are lit relative to the map or viewport.
See moreDeclaration
Objective-C
enum MGLLightAnchor : NSUInteger {}
Swift
enum MGLLightAnchor : UInt
-
The display of line endings.
Values of this type are used in the
See moreMGLLineStyleLayer.lineCap
property.Declaration
Objective-C
enum MGLLineCap : NSUInteger {}
Swift
enum MGLLineCap : UInt
-
The display of lines when joining.
Values of this type are used in the
See moreMGLLineStyleLayer.lineJoin
property.Declaration
Objective-C
enum MGLLineJoin : NSUInteger {}
Swift
enum MGLLineJoin : UInt
-
Controls the translation reference point.
Values of this type are used in the
See moreMGLLineStyleLayer.lineTranslationAnchor
property.Declaration
Objective-C
enum MGLLineTranslationAnchor : NSUInteger {}
Swift
enum MGLLineTranslationAnchor : UInt
-
The type of resource that is requested.
See moreDeclaration
Objective-C
enum MGLResourceKind : NSUInteger {}
Swift
enum MGLResourceKind : UInt
-
The modes used to interpolate property values between map zoom level changes or over a range of feature attribute values.
See moreDeclaration
Objective-C
enum MGLInterpolationMode : NSUInteger {}
Swift
enum MGLInterpolationMode : UInt
-
In combination with
symbolPlacement
, determines the rotation behavior of icons.Values of this type are used in the
See moreMGLSymbolStyleLayer.iconRotationAlignment
property.Declaration
Objective-C
enum MGLIconRotationAlignment : NSUInteger {}
Swift
enum MGLIconRotationAlignment : UInt
-
Scales the icon to fit around the associated text.
Values of this type are used in the
See moreMGLSymbolStyleLayer.iconTextFit
property.Declaration
Objective-C
enum MGLIconTextFit : NSUInteger {}
Swift
enum MGLIconTextFit : UInt
-
Label placement relative to its geometry.
Values of this type are used in the
See moreMGLSymbolStyleLayer.symbolPlacement
property.Declaration
Objective-C
enum MGLSymbolPlacement : NSUInteger {}
Swift
enum MGLSymbolPlacement : UInt
-
Part of the text placed closest to the anchor.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textAnchor
property.Declaration
Objective-C
enum MGLTextAnchor : NSUInteger {}
Swift
enum MGLTextAnchor : UInt
-
Text justification options.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textJustification
property.Declaration
Objective-C
enum MGLTextJustification : NSUInteger {}
Swift
enum MGLTextJustification : UInt
-
Orientation of text when map is pitched.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textPitchAlignment
property.Declaration
Objective-C
enum MGLTextPitchAlignment : NSUInteger {}
Swift
enum MGLTextPitchAlignment : UInt
-
In combination with
symbolPlacement
, determines the rotation behavior of the individual glyphs forming the text.Values of this type are used in the
See moreMGLSymbolStyleLayer.textRotationAlignment
property.Declaration
Objective-C
enum MGLTextRotationAlignment : NSUInteger {}
Swift
enum MGLTextRotationAlignment : UInt
-
Specifies how to capitalize text.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textTransform
property.Declaration
Objective-C
enum MGLTextTransform : NSUInteger {}
Swift
enum MGLTextTransform : UInt
-
Controls the translation reference point.
Values of this type are used in the
See moreMGLSymbolStyleLayer.iconTranslationAnchor
property.Declaration
Objective-C
enum MGLIconTranslationAnchor : NSUInteger {}
Swift
enum MGLIconTranslationAnchor : UInt
-
Controls the translation reference point.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textTranslationAnchor
property.Declaration
Objective-C
enum MGLTextTranslationAnchor : NSUInteger {}
Swift
enum MGLTextTranslationAnchor : UInt
-
Tile coordinate systems that determine how tile coordinates in tile URLs are interpreted.
See moreDeclaration
Objective-C
enum MGLTileCoordinateSystem : NSUInteger {}
Swift
enum MGLTileCoordinateSystem : UInt
-
Error constants for the Mapbox SDK.
See moreDeclaration
Objective-C
enum MGLErrorCode : NSInteger {}
Swift
enum MGLErrorCode : Int
-
Options for enabling debugging features in an
See moreMGLMapView
instance.Declaration
Objective-C
enum MGLMapDebugMaskOptions : NSUInteger {}
Swift
struct MGLMapDebugMaskOptions : OptionSet